package com.base;

import java.util.List;

public class BaseController {

    public AjaxResult success(String message){
        return AjaxResult.success(message);
    }

    public AjaxResult success(String message, List list){
        return AjaxResult.success(message,list);
    }

    public AjaxResult success(String message, Object object){
        return AjaxResult.success(message,object);
    }

    public AjaxResult success(String message, List list,MetaInfo metaInfo){
        return AjaxResult.success(message,list,metaInfo);
    }


    public AjaxResult error(String message){
        return AjaxResult.error(message);
    }

    public AjaxResult error(String message,Object object){
        return AjaxResult.error(message,object);
    }
}
